#pragma once
#include "triggeraction.h"
#include "EntityControl.h"

class EntityControl;

class KillAction :
	public TriggerAction	
{

	bool deleted;
	EntityControl *targetEntity;

public:
	
	//Fires the trigger
	bool FireTrigger(EntityControl *entity);

	
	static void* operator new (size_t size);
	static void operator delete (void *p);

	KillAction(EntityControl *entity);
	~KillAction(void);
};

